package com.itheima.homework.test5;

public class Test05 {
    public static void main(String[] args) {
        IPhone phone = new IPhone() {
            @Override
            public void connecting() {


            }



            @Override
            public void playMusic() {

            }


        };
        phone.setName("小米");
        Song s = new Song();
        s.setName("ARE YOU OK");
        s.setSinger("雷军");

        phone.btFunction();
        phone.connecting();

        phone.playMusic(s);
    }

}
